package kr.ac.kaist.simplefileexplorer.entity;

import kr.ac.kaist.simplefileexplorer.SeeMyFileActivity;

public class ShareRequestEntity {
	
	String myContact;
	String cloudFileUrl;
	String titleOfFile;
	String contacts;
	String dueDate;
	String downloadLimit;
	SeeMyFileActivity activity;
	
	String uuid;
	
	public ShareRequestEntity(String myContact, String cloudFileUrl,
			String titleOfFile, String contacts, String dueDate,
			String downloadLimit, SeeMyFileActivity activity)
	{
		this.myContact = myContact;
		this.cloudFileUrl = cloudFileUrl;
		this.titleOfFile = titleOfFile;
		this.contacts = contacts;
		this.dueDate = dueDate;
		this.downloadLimit = downloadLimit;		
		this.activity = activity;
	}
	
	public ShareRequestEntity(String myContact, String cloudFileUrl,
			String titleOfFile, String contacts, String dueDate,
			String downloadLimit)
	{
		this.myContact = myContact;
		this.cloudFileUrl = cloudFileUrl;
		this.titleOfFile = titleOfFile;
		this.contacts = contacts;
		this.dueDate = dueDate;
		this.downloadLimit = downloadLimit;		
	}
	
	
	public void makeToast() {
		
		String message = "Completed to share file. - uuid(" + uuid + ")";
		activity.makeToast(message);
	}
	
	
	
	public String getMyContact() {
		return myContact;
	}

	public void setMyContact(String myContact) {
		this.myContact = myContact;
	}

	public String getCloudFileUrl() {
		return cloudFileUrl;
	}

	public void setCloudFileUrl(String cloudFileUrl) {
		this.cloudFileUrl = cloudFileUrl;
	}

	public String getTitleOfFile() {
		return titleOfFile;
	}

	public void setTitleOfFile(String titleOfFile) {
		this.titleOfFile = titleOfFile;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getDueDate() {
		return dueDate;
	}

	public void setDueDate(String dueDate) {
		this.dueDate = dueDate;
	}

	public String getDownloadLimit() {
		return downloadLimit;
	}

	public void setDownloadLimit(String downloadLimit) {
		this.downloadLimit = downloadLimit;
	}
	
	public String getUUID() {
		return uuid;
	}

	public void setUUID(String uuid) {
		this.uuid = uuid;
	}
}
